body,html{
    background-color: #f6f6f8;
}
@color: #016bd5;
@keyframes rolate{
    0%{
        transform: rotate(0deg);
    }
    25%{
        transform: rotate(10deg) translateY(2px);
    }
    50%{
        transform: rotate(0deg) translateY(3px);
    }
    75%{
        transform: rotate(-10deg) translateY(5px);
    }
    100%{
        transform: rotate(0deg) translateY(0px);
    }
}
#page{
    max-width: 768px;
    height: 100%;
    margin: 0 auto;
    header{
        width: 90%;
        margin: 20px auto 0;
        display: flex;
        justify-content: space-between;
        .search{
            width: 80%;
            height: 30px;
            background-color: #fff;
            border-radius: 20px;
            padding: 0 10px;
            line-height: 30px;
            font-size: 12px;
            display: flex;
            .search_icon{
                margin-top: 5px;
                svg{
                    color: @color;
                }
            }
            input{
                outline: none;
                height: 100%;
                border: none;
                margin-left: 15px;
            }
        }
        .login{
            width: 10%;
            font-size: 12px;
            color: @color;
            cursor: pointer;
            .account{
                svg{
                    width: 16px;
                    height: 16px;
                    margin-left: 4px;
                }
            }
        }
    }
    article{
        width: 90%;
        margin: 20px auto;
        .loading{
            width: 100%;
            img{
                display: block;
                margin: 10px auto;
                width: 10%;
                animation: rolate 1s linear infinite;
            }
            .load_t{
                text-align: center;
                color: #ccc;
                font-size: 12px;
            }
        }
    }
    ul{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0;
        li{
            width: 48%;
            background-color: #fff;
            margin-top: 8px;
            // padding-bottom: 10px;
            box-sizing: border-box;
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            a{
                color: #000;
                text-decoration: none;
            }
            .img{
                position: relative;
                img{
                    display: block;
                    width: 100%;
                    border-radius: 10px;
                }
                .desc{
                    position: absolute;
                    font-size: 12px;
                    border-radius: 8px;
                    bottom: 10px;
                    left: 10px;
                    padding: 2px 4px;
                    background-color: rgba(0, 0, 0, .5);
                    color: #fff;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    white-space: nowrap;
                }
            }
           
            .title{
                margin: 5px 0;
                overflow: hidden;
                text-overflow: ellipsis;
                text-overflow: -o-ellipsis-lastline;
                display: -webkit-box;
                line-clamp: 2;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                color: #000;
                padding: 0 10px;
            }
            .price{
                color: #ff7400;
                padding-bottom: 30px;
            }
            .user{
                display: flex;
                justify-content: space-between;
                font-size: 12px;
                padding: 5px 10px 10px 10px;
               .user_box{
                    img{
                        border-radius: 50%;
                        width: 20px;
                        height: 20px;
                        overflow: hidden;
                        vertical-align: middle;
                    }
               }
               .count_num{

               }
            }
        }
    }  
}
